import { request } from "@/api-services/request";

export default {
  GetAllDevice() {
    return request.get<any>("/Wankeyun/GetAllDevice");
  },
  UrlResolve(data) {
    return request.post<any>(`/Wankeyun/UrlResolve`, data);
  },
  CreateBatchTaskWithUrlResolve(data) {
    return request.post<any>(`/Wankeyun/CreateBatchTaskWithUrlResolve`, data);
  },
  PauseTask(data) {
    return request.post<any>(`/Wankeyun/PauseTask`, data);
  },
  StartTask(data) {
    return request.post<any>(`/Wankeyun/StartTask`, data);
  },
  DeleteTask(data) {
    return request.post<any>(`/Wankeyun/DeleteTask`, data);
  },
};
